Socket
Socket
Sign inDemoInstall

google-sr-selectors

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-sr-selectors

Html selectors for google search result pages.


Version published
Maintainers
1
Created
Source

google-sr-selectors

testing workflow npm downloads GitHub issues NPM license npm version Discord CodeFactor

Set of html selectors for parsing google search results with jquery like modules (ex: cheerio).

  • View documentation here

  • Come chat with us on our discord

Please note that the included selectors are intended for the non-Javascript version of Google Search page. These were obtained by appending &gbv=1 to the regular query link.

ex: (disable javascript, else it will redirect): query nodejs

What are selectors?

Selectors form the backbone of packages like google-sr. These are predefined strings that outline the structure of specific HTML code representing the desired value. By utilizing selectors, we gain the ability to parse the HTML and precisely extract the intended information.

This package exports the selectors used to extract search result values from, google html page data we receive. Offered for purposes of contributors and other developers interested in parsing raw google search html.

Supported types

The package currently only supports a limited amount of selectors

You can view them in the documentation

🌟 Suggest more to be added here

  • google-sr - Simple tool to programmatically get google search results
  • google-that - CLI wrapper around google-sr

Disclaimer

This is not sponsored, supported, or affiliated with Google Inc.

The source code within this repository is intended solely for educational purposes.

The author (typicalninja) & contributors takes no responsibility for any issues that arise from misuse, such as IP blocking by Google. Your discretion in usage is advised.

License

This repository and the code inside it is licensed under the Apache-2.0 License. Read LICENSE for more information.

Keywords

FAQs

Package last updated on 11 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc